package com.edu.d7_generic_class;

import java.util.ArrayList;

public class MyArrayList<E> {
    private ArrayList list=new ArrayList();
    public void addList(E e){
        list.add(e);
    }
    public void deleteList(E e){
        list.remove(e);
    }

    @Override
    public String toString() {
        return "MyArrayList={" + list +
                '}';
    }
}
